//
//  ProgressController.m
//  iCodeMac
//
//  Created by Andrew Barry on 6/04/09.
//  Copyright 2009 Barry Computer Services. All rights reserved.
//

#import "ProgressController.h"

@implementation ProgressController
-(void) awakeFromNib {
	[self bindText:nameControl toProperty:@"name"];
	[self bindInt:valueControl toProperty:@"value"];
	[self bindInt:minimumControl toProperty:@"minimum"];
	[self bindInt:maximumControl toProperty:@"maximum"];
	
	[self bindInt:leftControl toProperty:@"left"];
	[self bindInt:topControl toProperty:@"top"];
	[self bindInt:widthControl toProperty:@"width"];
	[self bindInt:heightControl toProperty:@"height"];
	
	[self bindCheckbox:lockLeft toProperty:@"lockLeft"];
	[self bindCheckbox:lockTop toProperty:@"lockTop"];
	[self bindCheckbox:lockRight toProperty:@"lockRight"];
	[self bindCheckbox:lockBottom toProperty:@"lockBottom"];
}

@end
